package com.sky.service;

import com.sky.dto.ShoppingCartDto;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface IShoppingCartService {
    void save(ShoppingCartDto shoppingCartDto);

    List<ShoppingCart> list(Long userId);

    boolean modify(ShoppingCartDto shoppingCartDto);

    void sub(ShoppingCartDto shoppingCartDto);

    void empty();
}
